Fixed help for owners

This commit is contained in:
Michiel Broek 2006-02-04 16:59:26 +00:00
parent e5d2b59207
commit 964fcc1b82

View File

@ -548,7 +548,7 @@ void chat_put_r(char *data, char *buf)
Syslog('c', "IBC: process command, in channel %s and we are %sthe owner", tmpu->channel, owner ? "":"not "); Syslog('c', "IBC: process command, in channel %s and we are %sthe owner", tmpu->channel, owner ? "":"not ");
} }
if (strncasecmp(msg, "/help", 5) == 0) { if (strncasecmp(msg, "/help", 5) == 0) {
chat_help(atoi(pid), FALSE); chat_help(atoi(pid), owner);
goto ack; goto ack;
} else if (strncasecmp(msg, "/echo", 5) == 0) { } else if (strncasecmp(msg, "/echo", 5) == 0) {
snprintf(mbuf, 200, "%s", msg); snprintf(mbuf, 200, "%s", msg);