Mercurial > pidgin.yaz
diff libpurple/protocols/irc/irc.c @ 18030:62a71bb085ef
Mostly taken from the patch on ticket #410, don't send unknown slash
commands as messages on protocols where slash commands are "native". This
is determined by using a new OPT_PROTO_SLASH_COMMAND_NATIVE protocol
option, so this only goes in the 2.1.0 branch. Fixes #410.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 02 Jun 2007 12:05:50 +0000 |
parents | 4c8a2054fd81 |
children | 4ca97b26a8fb |
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c Sat Jun 02 11:41:18 2007 +0000 +++ b/libpurple/protocols/irc/irc.c Sat Jun 02 12:05:50 2007 +0000 @@ -814,7 +814,8 @@ static PurplePluginProtocolInfo prpl_info = { - OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL, + OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL | + OPT_PROTO_SLASH_COMMANDS_NATIVE, NULL, /* user_splits */ NULL, /* protocol_options */ NO_BUDDY_ICONS, /* icon_spec */