1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 19:43:13 +02:00

Added cmd_topic() function to IRCDProtoNew class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1209 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:10 +00:00
parent f9b628b0d3
commit cef2f72082
13 changed files with 20 additions and 50 deletions
+2 -11
View File
@@ -46,7 +46,6 @@ void initIrcdProto()
{
ircdproto.ircd_set_mod_current_buffer = NULL;
ircdproto.ircd_set_umode = NULL;
ircdproto.ircd_cmd_topic = NULL;
ircdproto.ircd_cmd_vhost_off = NULL;
ircdproto.ircd_cmd_akill = NULL;
ircdproto.ircd_cmd_svskill = NULL;
@@ -143,10 +142,9 @@ void anope_cmd_remove_akill(const char *user, const char *host)
ircdprotonew->cmd_remove_akill(user, host);
}
void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit,
const char *topic, time_t when)
void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when)
{
ircdproto.ircd_cmd_topic(whosets, chan, whosetit, topic, when);
ircdprotonew->cmd_topic(whosets, chan, whosetit, topic, when);
}
void anope_cmd_vhost_off(User * u)
@@ -690,13 +688,6 @@ void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av))
ircdproto.ircd_set_mod_current_buffer = func;
}
void pmodule_cmd_topic(void (*func)
(const char *whosets, const char *chan, const char *whosetit,
const char *topic, time_t when))
{
ircdproto.ircd_cmd_topic = func;
}
void pmodule_cmd_vhost_off(void (*func) (User * u))
{
ircdproto.ircd_cmd_vhost_off = func;