From f0dac14e32b7c087e20aad69cc10d3fb94a9d69b Mon Sep 17 00:00:00 2001
From: mathieui <mathieui@mathieui.net>
Date: Fri, 19 Dec 2014 19:20:18 +0100
Subject: Fix #2861 (fix /ignore and /unignore (5/78))

---
 src/tabs/muctab.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/tabs')

diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index a49c1fd9..81a3367f 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -779,7 +779,7 @@ class MucTab(ChatTab):
         """
         /ignore <nick>
         """
-        if arg is None:
+        if args is None:
             return self.core.command_help('ignore')
 
         nick = args[0]
@@ -797,7 +797,7 @@ class MucTab(ChatTab):
         """
         /unignore <nick>
         """
-        if arg is None:
+        if args is None:
             return self.core.command_help('unignore')
 
         nick = args[0]
-- 
cgit v1.2.3