diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-27 14:05:38 -0400 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-27 14:05:38 -0400 |
commit | 74f1cdef999356e40e3fa3b6a2d89876b6c0c303 (patch) | |
tree | 2e8c30033bc9358dd5a0cc4c7ba68ecc9ad992d2 /irc_channel.c | |
parent | 280c56a7b24dc08b35a1ecd98c8f4b61435d1100 (diff) |
irc_usermsg() works a little bit again. Have to figure out how and where
to restore multiline support though.
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; |