[Pkg-privacy-commits] [irssi-plugin-otr] 59/267: Check if it's a channel msg that's coming in was wrong.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit a2c4d973ce0adeb13deece85082bb59a7b5c19f0
Author: Uli Meis <a.sporto+bee at gmail.com>
Date:   Tue Feb 10 11:19:55 2009 +0100

    Check if it's a channel msg that's coming in was wrong.
---
 weechat/weechat_otr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/weechat/weechat_otr.c b/weechat/weechat_otr.c
index 4dfeb7b..30532cf 100644
--- a/weechat/weechat_otr.c
+++ b/weechat/weechat_otr.c
@@ -147,7 +147,7 @@ char *wc_modifier_privmsg_in(void *data, const char *modifier,
 	if (!extract_nick(nick,argv[0]))
 		goto done;
 
-	if ((*argv[1]=='&')||(*argv[1]=='#'))
+	if ((*argv[2]=='&')||(*argv[2]=='#'))
 		goto done;
 
 #ifdef HAVE_GREGEX_H

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git



More information about the Pkg-privacy-commits mailing list