diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-09-12 17:49:51 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-09-12 17:49:51 +0000 |
commit | 2d78a392ef603ab66772683e698170026871eec7 (patch) | |
tree | 5659eb676bd37adca1408280080249469da8be3a /src | |
parent | 4cb9eb9773a0a0e725a0b3d411129771776eb303 (diff) |
BUILD : 1.7.15 (1154) BUGS : N/A NOTES : Fixed plexus3 noop support
git-svn-id: svn://svn.anope.org/anope/trunk@1154 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@877 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/messages.c | 23 | ||||
-rw-r--r-- | src/protocol/plexus3.c | 3 |
2 files changed, 15 insertions, 11 deletions
diff --git a/src/messages.c b/src/messages.c index 22aac8265..8dd784dc9 100644 --- a/src/messages.c +++ b/src/messages.c @@ -329,7 +329,7 @@ int m_version(char *source, int ac, char **av) int m_whois(char *source, char *who) { BotInfo *bi; - NickAlias *na; + NickAlias *na; const char *clientdesc; if (source && who) { @@ -363,15 +363,18 @@ int m_whois(char *source, char *who) start_time); anope_cmd_318(source, bi->nick); return MOD_CONT; - } else if (!(ircd->svshold && UseSVSHOLD) && (na = findnick(who)) && (na->status & NS_KILL_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 - * other servers :) -GD - */ - anope_cmd_311("%s %s %s %s * :Services Enforcer", source, na->nick, NSEnforcerUser, NSEnforcerHost); - anope_cmd_312("%s %s %s :%s", source, na->nick, ServerName, ServerDesc); - anope_cmd_318(source, na->nick); - return MOD_CONT; + } else if (!(ircd->svshold && UseSVSHOLD) && (na = findnick(who)) + && (na->status & NS_KILL_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 + * other servers :) -GD + */ + anope_cmd_311("%s %s %s %s * :Services Enforcer", source, + na->nick, NSEnforcerUser, NSEnforcerHost); + anope_cmd_312("%s %s %s :%s", source, na->nick, ServerName, + ServerDesc); + anope_cmd_318(source, na->nick); + return MOD_CONT; } else { anope_cmd_401(source, who); return MOD_CONT; diff --git a/src/protocol/plexus3.c b/src/protocol/plexus3.c index 1e6b8ccb7..a5bd5d126 100644 --- a/src/protocol/plexus3.c +++ b/src/protocol/plexus3.c @@ -770,7 +770,8 @@ plexus_cmd_szline (char *mask, char *reason, char *whom) void plexus_cmd_svsnoop (char *server, int set) { - /* does not support */ + send_cmd(ServerName, "ENCAP %s SVSNOOP %s", + server, (set ? "+" : "-")); } void |