summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/modes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c
index ba3d9a76..25edbbb9 100644
--- a/src/irc/core/modes.c
+++ b/src/irc/core/modes.c
@@ -51,7 +51,7 @@ void parse_channel_modes(CHANNEL_REC *channel, const char *setby, const char *mo
g_return_if_fail(channel != NULL);
g_return_if_fail(setby != NULL);
- g_return_if_fail(modestr != NULL);
+ g_return_if_fail(mode != NULL);
type = '+';