diff options
author | shennetsind <ind@henn.et> | 2013-05-14 18:18:36 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-14 18:18:36 -0300 |
commit | 7c0cb17c525d4de085653f6c628dbd92171399fa (patch) | |
tree | 9626e7e8c03ebc41bea451438d0127c5783908e7 /src/map/irc-bot.c | |
parent | dc16b498f6dc8621037e4a596cd47c369576fa23 (diff) | |
download | hercules-7c0cb17c525d4de085653f6c628dbd92171399fa.tar.gz hercules-7c0cb17c525d4de085653f6c628dbd92171399fa.tar.bz2 hercules-7c0cb17c525d4de085653f6c628dbd92171399fa.tar.xz hercules-7c0cb17c525d4de085653f6c628dbd92171399fa.zip |
Follow up dc16b498f6dc8621037e4a596cd47c369576fa23
Yahooo an 'n'~!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/irc-bot.c')
-rw-r--r-- | src/map/irc-bot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/irc-bot.c b/src/map/irc-bot.c index bbce327b3..0e155011e 100644 --- a/src/map/irc-bot.c +++ b/src/map/irc-bot.c @@ -172,7 +172,7 @@ void irc_join(int fd, char *cmd, char *source, char *target, char *msg) { void irc_privmsg(int fd, char *cmd, char *source, char *target, char *msg) { if( strcmpi(target,hChSys.irc_nick) == 0 ) { if( msg[0] == ':' ) msg++; - if( strncmpi(msg,"VERSION") == 0 ) { + if( strcmpi(msg,"VERSION") == 0 ) { char source_nick[40], source_ident[40], source_host[100]; source_nick[0] = source_ident[0] = source_host[0] = '\0'; |