mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
6f891f1a6a
commit
bcea75ae31
1 changed files with 6 additions and 1 deletions
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue