1
0
Fork 0
forked from fte/fteqw

slight version control

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1919 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2006-02-01 08:21:36 +00:00
parent 74d9fd53e8
commit 5a097121a5

View file

@ -32,6 +32,7 @@ char commandname[64]; // belongs to magic tokenizer
char subvar[9][1000]; // etghack char subvar[9][1000]; // etghack
char casevar[9][1000]; //numbered_command char casevar[9][1000]; //numbered_command
#define DEFAULTCONSOLE "" #define DEFAULTCONSOLE ""
#define RELEASE "Febuary 1st 2006"
void (*Con_TrySubPrint)(char *subname, char *text); void (*Con_TrySubPrint)(char *subname, char *text);
void Con_FakeSubPrint(char *subname, char *text) void Con_FakeSubPrint(char *subname, char *text)
@ -925,7 +926,7 @@ int IRC_ClientFrame(ircclient_t *irc)
username = strtok(var[1]+1, delimiters); username = strtok(var[1]+1, delimiters);
IRC_AddClientMessage(irc, va("NOTICE %s :\1VERSION FTEQW-IRC-Plugin Build ?\1", username)); IRC_AddClientMessage(irc, va("NOTICE %s :\1VERSION FTEQW-IRC-Plugin Release: %s", username, RELEASE));
} }
else if ((!stricmp(var[4]+1, "\1TIME\1")) && (!strncmp(var[2], "PRIVMSG ", 7))) else if ((!stricmp(var[4]+1, "\1TIME\1")) && (!strncmp(var[2], "PRIVMSG ", 7)))
{ {
@ -1883,7 +1884,7 @@ void IRC_Command(char *dest)
if (*com_token) if (*com_token)
IRC_AddClientMessage(ircclient, va("QUIT :%s", com_token)); IRC_AddClientMessage(ircclient, va("QUIT :%s", com_token));
else else
IRC_AddClientMessage(ircclient, va("QUIT :FTE QuakeWorld IRC-Plugin http://www.fteqw.com/plugins/")); IRC_AddClientMessage(ircclient, va("QUIT :FTE QuakeWorld IRC-Plugin Release: %s http://www.fteqw.com/plugins/", RELEASE));
} }
else if (!strcmp(com_token+1, "whois")) else if (!strcmp(com_token+1, "whois"))
{ {