diff options
Diffstat (limited to 'src/irc/core/modes.c')
-rw-r--r-- | src/irc/core/modes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index b73d5eb8..9b5c8027 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -331,7 +331,7 @@ void channel_set_mode(IRC_SERVER_REC *server, const char *channel, const char *m g_return_if_fail(server != NULL); g_return_if_fail(channel != NULL); - g_return_if_fail(modestr != NULL); + g_return_if_fail(mode != NULL); tmode = g_string_new(NULL); targs = g_string_new(NULL); |