summaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-rw-r--r--src/ircd.c5
-rw-r--r--src/users.c2
2 files changed, 1 insertions, 6 deletions
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;