From e39537dc042146c1037bdecf63a96457f82d6105 Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 28 Aug 2009 18:54:41 +0000 Subject: [PATCH] Fixed traceback in @irc2chan when channel not known. --- src/commands/irc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/irc.py b/src/commands/irc.py index 04d9d744f4..191b63c5c9 100644 --- a/src/commands/irc.py +++ b/src/commands/irc.py @@ -1,5 +1,5 @@ """ -IRC-related functions +IRC-related commands """ from django.conf import settings @@ -8,6 +8,7 @@ from src.irc.connection import connect_to_IRC from src.irc.models import IRCChannelMapping from src import comsys from src.cmdtable import GLOBAL_CMD_TABLE +from src.channels.models import CommChannel def cmd_IRC2chan(command): """