summaryrefslogtreecommitdiff
path: root/src/protocol/plexus.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-09-04 20:52:27 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-09-04 20:52:27 +0000
commit40b676e9535653b78ceced5e01fe99180d8c94f1 (patch)
treef207aa15ccb3bf1a9b6722b2eea01adeda4ca33c /src/protocol/plexus.c
parent5e4760f2b57583b7f8abd68a6d09d56591be0616 (diff)
BUILD : 1.7.10 (871) BUGS : NOTES : Applied two patches by ThaPrince to add the correct nicks to SQLINE/SGLINE with plexus and ratbox
git-svn-id: svn://svn.anope.org/anope/trunk@871 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@620 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/plexus.c')
-rw-r--r--src/protocol/plexus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/plexus.c b/src/protocol/plexus.c
index 11f807bbc..4f7bcf0f9 100644
--- a/src/protocol/plexus.c
+++ b/src/protocol/plexus.c
@@ -770,7 +770,7 @@ moduleAddIRCDMsgs (void)
void
plexus_cmd_sqline (char *mask, char *reason)
{
- send_cmd (NULL, "RESV * %s :%s", mask, reason);
+ send_cmd (s_OperServ, "RESV * %s :%s", mask, reason);
}
void
@@ -843,7 +843,7 @@ plexus_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
void
plexus_cmd_unsqline (char *user)
{
- send_cmd (NULL, "UNRESV * %s", user);
+ send_cmd (s_OperServ, "UNRESV * %s", user);
}
void
@@ -1356,7 +1356,7 @@ plexus_cmd_nick (char *nick, char *name, char *mode)
send_cmd (NULL, "NICK %s 1 %ld %s %s %s %s %s 0 :%s", nick,
(long int) time (NULL), mode, ServiceUser, ServiceHost,
"*", ServerName, (name));
- plexus_cmd_sqline (nick, "Reserved for services");
+ send_cmd (nick, "RESV * %s :%s", nick, "Reserved for services");
}
void