summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 22:12:22 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 22:12:22 +0000
commit69bfe7d04ce975fcbc58cd19a915d0646b68e50f (patch)
treea43387497dfd79ad93cf9b59067b84b7d4ceabb9
parent6395adff7939b5dbe798541c1c78dbe2cbee8b14 (diff)
Replaced anope_SendSVID() with direct call to SendSVID() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1364 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--include/extern.h1
-rw-r--r--src/ircd.c5
-rw-r--r--src/users.c2
3 files changed, 1 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h
index 6f6601865..1c517a1b7 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1133,7 +1133,6 @@ E void anope_SendCTCP(const char *source, const char *dest, const char *fmt, ..
E void anope_SendNumeric(const char *, int, const char *, const char *, ...) FORMAT(printf, 4, 5); /* Numerics */
E void anope_ProcessUsermodes(User * user, int ac, const char **av);
-E void anope_SendSVID(const char *nick, time_t ts);
E void anope_SendSVID2(User *u, const char *ts);
E void anope_SendSVID3(User *u, const char *ts);
E void anope_SendUnregisteredNick(User *u);
diff --git a/src/ircd.c b/src/ircd.c
index b34747da9..3774643fa 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
-void anope_SendSVID(const char *nick, time_t ts)
-{
- ircdproto->SendSVID(nick, ts);
-}
-
void anope_SendUnregisteredNick(User *u)
{
ircdproto->SendUnregisteredNick(u);
diff --git a/src/users.c b/src/users.c
index 482dd4cda..cccf8df54 100644
--- a/src/users.c
+++ b/src/users.c
@@ -662,7 +662,7 @@ User *do_nick(const char *source, const char *nick, const char *username, const
/* Resets the svid because it doesn't match */
user->svid = 1;
- anope_SendSVID(user->nick, user->timestamp);
+ ircdproto->SendSVID(user->nick, user->timestamp);
} else {
user->svid = 1;