channel joining noob request by up2nogood

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1927 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2006-02-02 08:32:57 +00:00
parent 6f891f1a6a
commit bcea75ae31

View file

@ -1908,7 +1908,12 @@ void IRC_Command(char *dest)
else if (!strcmp(com_token+1, "join"))
{
msg = COM_Parse(msg);
IRC_AddClientMessage(ircclient, va("JOIN %s", com_token));
if ( *com_token != '#' )
IRC_AddClientMessage(ircclient, va("JOIN #%s", com_token));
else
IRC_AddClientMessage(ircclient, va("JOIN %s", com_token));
}
else if (!strcmp(com_token+1, "part") || !strcmp(com_token+1, "leave"))
{