diff options
Diffstat (limited to 'irc_channel.c')
-rw-r--r-- | irc_channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/irc_channel.c b/irc_channel.c index ec0433c1..3afdddee 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -138,6 +138,9 @@ gboolean irc_channel_name_ok( const char *name ) /* Channel-type dependent functions, for control channels: */ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg ) { + g_free( ic->irc->last_root_cmd ); + ic->irc->last_root_cmd = g_strdup( ic->name ); + root_command_string( ic->irc, msg ); return TRUE; |