From 27fbecdaa75d262e92703a578c508c0aeccd06a4 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 2 Feb 2008 22:58:56 +0000 Subject: Back out the AllowDevoiceSelf stuff, it wasn't going to work anyway. Accidental commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8796 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_v.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modes') diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp index 8b94caf08..66e58a479 100644 --- a/src/modes/cmode_v.cpp +++ b/src/modes/cmode_v.cpp @@ -136,9 +136,7 @@ std::string ModeChannelVoice::DelVoice(User *user,const char *dest,Channel *chan return ""; if (MOD_RESULT == ACR_DEFAULT) { - if ((status < STATUS_HOP) && (!ServerInstance->ULine(user->server)) || - user == d && ServerInstance->Config->AllowDevoiceSelf - ) + if ((status < STATUS_HOP) && (!ServerInstance->ULine(user->server))) { user->WriteServ("482 %s %s :You are not a channel (half)operator",user->nick, chan->name); return ""; -- cgit v1.2.3