Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
18029:9e648622bf72 | 18030:62a71bb085ef |
---|---|
812 irc_cmd_ping(irc, NULL, NULL, NULL); | 812 irc_cmd_ping(irc, NULL, NULL, NULL); |
813 } | 813 } |
814 | 814 |
815 static PurplePluginProtocolInfo prpl_info = | 815 static PurplePluginProtocolInfo prpl_info = |
816 { | 816 { |
817 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL, | 817 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL | |
818 OPT_PROTO_SLASH_COMMANDS_NATIVE, | |
818 NULL, /* user_splits */ | 819 NULL, /* user_splits */ |
819 NULL, /* protocol_options */ | 820 NULL, /* protocol_options */ |
820 NO_BUDDY_ICONS, /* icon_spec */ | 821 NO_BUDDY_ICONS, /* icon_spec */ |
821 irc_blist_icon, /* list_icon */ | 822 irc_blist_icon, /* list_icon */ |
822 NULL, /* list_emblems */ | 823 NULL, /* list_emblems */ |