summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
commit4a4c4a9ee13ee06c7a1803f313e9c2a48e017e75 (patch)
tree392ffb3b6c3bf8e455e7e963087cb834718169df /src/protocol/unreal32.c
parent8d6828fb8f84431c50914fa9161c46bdfa67a384 (diff)
Added cmd_sgline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1255 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index c5e85f180..9625b542e 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -1375,13 +1375,12 @@ void UnrealIRCdProto::cmd_szline(const char *mask, const char *reason, const cha
/*
* SVSNLINE + reason_where_is_space :realname mask with spaces
*/
-void unreal_cmd_sgline(const char *mask, const char *reason)
+void UnrealIRCdProto::cmd_sgline(const char *mask, const char *reason)
{
char edited_reason[BUFSIZE];
strlcpy(edited_reason, reason, BUFSIZE);
- strnrepl(edited_reason, BUFSIZE, " ", "_");
- send_cmd(NULL, "%s + %s :%s", send_token("SVSNLINE", "BR"), edited_reason,
- mask);
+ strnrepl(edited_reason, BUFSIZE, " ", "_");
+ send_cmd(NULL, "%s + %s :%s", send_token("SVSNLINE", "BR"), edited_reason, mask);
}
/* SVSMODE -b */
@@ -1935,7 +1934,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_242(unreal_cmd_242);
pmodule_cmd_243(unreal_cmd_243);
pmodule_cmd_211(unreal_cmd_211);
- pmodule_cmd_sgline(unreal_cmd_sgline);
pmodule_cmd_unban(unreal_cmd_unban);
pmodule_cmd_svsmode_chan(unreal_cmd_svsmode_chan);
pmodule_cmd_svid_umode(unreal_cmd_svid_umode);