Added +myip command.

This commit is contained in:
Jan Vidar Krey
2009-03-08 17:11:10 +01:00
parent 6511761991
commit 990fc31296
2 changed files with 22 additions and 1 deletions

View File

@@ -189,7 +189,7 @@ int hub_handle_chat_message(struct user* u, struct adc_message* cmd)
int relay = 1;
/* TODO: Check for hub-commands here. Set relay to 0 and the message will not be sent to other users. */
if (message[0] == '!')
if (message[0] == '!' || message[0] == '+')
{
relay = command_dipatcher(u, message);
}