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
commit126e46395d03d3ae81776712089fd7cd9c28ccbc (patch)
tree3d6908e7c090aa483cbf1cff586e716c7cb82079 /src/protocol/unreal32.c
parentdf91ba9d7c66c12b91906f04334c68d25d5a3a0c (diff)
Added cmd_nc_change() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1259 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index bbc2f47c4..72589ad90 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -1409,9 +1409,9 @@ void UnrealIRCdProto::cmd_svid_umode(const char *nick, time_t ts)
/* SVSMODE +d */
/* nc_change was = 1, and there is no na->status */
-void unreal_cmd_nc_change(User * u)
+void UnrealIRCdProto::cmd_nc_change(User *u)
{
- common_svsmode(u, "-r+d", "1");
+ common_svsmode(u, "-r+d", "1");
}
/* SVSMODE +r */
@@ -1924,7 +1924,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_242(unreal_cmd_242);
pmodule_cmd_243(unreal_cmd_243);
pmodule_cmd_211(unreal_cmd_211);
- pmodule_cmd_nc_change(unreal_cmd_nc_change);
pmodule_cmd_svid_umode2(unreal_cmd_svid_umode2);
pmodule_cmd_svid_umode3(unreal_cmd_svid_umode3);
pmodule_cmd_svsjoin(unreal_cmd_svsjoin);