summaryrefslogtreecommitdiff
path: root/src/messages.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-22 07:40:22 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-22 07:40:22 +0000
commitd5f036017510dad134fd9c8d471135f774f1fe17 (patch)
treeee037c32da9ad223cd660af9f5ed36133a517bec /src/messages.c
parentfae2710ba7e068edb68baf26f901af564741e5bf (diff)
Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs on IRCds without svsnick and/or svshold
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/messages.c')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index 212174939..5e97dfc71 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -300,7 +300,7 @@ int m_whois(const char *source, const char *who)
ircdproto->SendNumeric(Config.ServerName, 317, source, "%s %ld %ld :seconds idle, signon time", bi->nick.c_str(), time(NULL) - bi->lastmsg, start_time);
ircdproto->SendNumeric(Config.ServerName, 318, source, "%s :End of /WHOIS list.", who);
}
- else if (!ircd->svshold && (na = findnick(who)) && na->HasFlag(NS_KILL_HELD))
+ else if (!ircd->svshold && (na = findnick(who)) && na->HasFlag(NS_HELD))
{
/* We have a nick enforcer client here that we need to respond to.
* We can't just say it doesn't exist here, even tho it does for