From 3593e33ce374caee9aec0575b49ec9b0001a8ec6 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 3 Nov 2007 19:55:04 +0000 Subject: Partial fix for bug #441 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8479 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_timedbans.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_timedbans.cpp') diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 682fc2f01..30dda81f5 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -94,7 +94,8 @@ class CommandTban : public Command } return CMD_FAILURE; } - else user->WriteServ("482 %s %s :You must be at least a half-operator to change modes on this channel",user->nick, channel->name); + else user->WriteServ("482 %s %s :You must be at least a%soperator to change modes on this channel",user->nick, channel->name, + ServerInstance->Config->AllowHalfop ? " half-" : " channel "); return CMD_FAILURE; } user->WriteServ("401 %s %s :No such channel",user->nick, parameters[0]); -- cgit v1.3.1-10-gc9f91