mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 01:05:41 +02:00
Bug with IRC prefix "!" for mode "a" (channel admin) (bug #29109)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.2-dev, 2010-03-03
|
||||
v0.3.2-dev, 2010-03-07
|
||||
|
||||
|
||||
Version 0.3.2 (under dev!)
|
||||
@@ -46,6 +46,7 @@ Version 0.3.2 (under dev!)
|
||||
* irc: fix PART message received on Undernet server (bug #28825)
|
||||
* irc: fix bug with /away -all: set or unset future away for disconnected
|
||||
servers (bug #29022)
|
||||
* irc: bug with prefix "!" for mode "a" (channel admin) (bug #29109)
|
||||
* irc: add option irc.network.connection_timeout (timeout between TCP connection
|
||||
to server and reception of message 001)
|
||||
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
|
||||
|
||||
+100
-21
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,7 @@ extern int irc_mode_channel_set (struct t_irc_server *server,
|
||||
struct t_irc_channel *channel,
|
||||
const char *modes);
|
||||
extern void irc_mode_user_set (struct t_irc_server *server, const char *modes);
|
||||
extern int irc_mode_nick_prefix_allowed (struct t_irc_server *server,
|
||||
char prefix);
|
||||
extern int irc_mode_get_nick_prefix (struct t_irc_server *server, char *mode,
|
||||
char prefix);
|
||||
|
||||
#endif /* irc-mode.h */
|
||||
|
||||
@@ -1870,13 +1870,6 @@ irc_protocol_cmd_005 (struct t_irc_server *server, const char *command,
|
||||
if (pos)
|
||||
{
|
||||
pos += 7;
|
||||
if (pos[0] == '(')
|
||||
{
|
||||
pos2 = strchr (pos, ')');
|
||||
if (!pos2)
|
||||
return WEECHAT_RC_OK;
|
||||
pos = pos2 + 1;
|
||||
}
|
||||
pos2 = strchr (pos, ' ');
|
||||
if (pos2)
|
||||
pos2[0] = '\0';
|
||||
@@ -3239,7 +3232,7 @@ irc_protocol_cmd_353 (struct t_irc_server *server, const char *command,
|
||||
{
|
||||
prefix_found = 0;
|
||||
|
||||
if (irc_mode_nick_prefix_allowed (server, pos_nick[0]))
|
||||
if (irc_mode_get_nick_prefix (server, NULL, pos_nick[0]) >= 0)
|
||||
{
|
||||
prefix_found = 1;
|
||||
switch (pos_nick[0])
|
||||
|
||||
Reference in New Issue
Block a user