summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-21 17:58:09 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-21 17:58:09 +0000
commitbecf84ee2080b6167e0106ed0257c84bac22276d (patch)
treec24fca5754d3c6afe3ccb8ffdce5f8e62e3728d8 /src
parente6dfa9cf5369cd605b86ce036067c41a1da74b90 (diff)
Don't send OPERTYPE for Services pseudoclients, this should not cause problems as services are remote users, and should gain less spam on services connecting, and no need to fiddle with /lusers counts.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1780 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/protocol/inspircd12.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp
index 797a25976..33a36a19a 100644
--- a/src/protocol/inspircd12.cpp
+++ b/src/protocol/inspircd12.cpp
@@ -542,7 +542,6 @@ class InspIRCdProto : public IRCDProto
void SendClientIntroduction(const char *nick, const char *user, const char *host, const char *real, const char *modes, const char *uid)
{
send_cmd(ServerName, "UID %s %ld %s %s %s %s 0.0.0.0 %ld +%s :%s", uid, static_cast<long>(time(NULL)), nick, host, host, user, static_cast<long>(time(NULL)), modes, real);
- send_cmd(nick, "OPERTYPE Service");
}
void SendKickInternal(BotInfo *source, const char *chan, const char *user, const char *buf)