summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/extern.h68
-rw-r--r--include/services.h16
2 files changed, 8 insertions, 76 deletions
diff --git a/include/extern.h b/include/extern.h
index 9fd206177..945ca249e 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1176,74 +1176,6 @@ E void anope_cmd_svswatch(const char *sender, const char *nick, const char *parm
E void anope_SendCTCP(const char *source, const char *dest, const char *fmt, ...); /* CTCP */
E void anope_SendNumeric(const char *, int, const char *, const char *, ...) FORMAT(printf, 4, 5); /* Numerics */
-EI int anope_event_482(const char *source, int ac, const char **av);
-EI int anope_event_436(const char *source, int ac, const char **av);
-EI int anope_event_away(const char *source, int ac, const char **av);
-EI int anope_event_ping(const char *source, int ac, const char **av);
-EI int anope_event_motd(const char *source, int ac, const char **av);
-EI int anope_event_join(const char *source, int ac, const char **av);
-EI int anope_event_kick(const char *source, int ac, const char **av);
-EI int anope_event_kill(const char *source, int ac, const char **av);
-EI int anope_event_mode(const char *source, int ac, const char **av);
-EI int anope_event_tmode(const char *source, int ac, const char **av);
-EI int anope_event_quit(const char *source, int ac, const char **av);
-EI int anope_event_squit(const char *source, int ac, const char **av);
-EI int anope_event_topic(const char *source, int ac, const char **av);
-EI int anope_event_whois(const char *source, int ac, const char **av);
-EI int anope_event_part(const char *source, int ac, const char **av);
-EI int anope_event_server(const char *source, int ac, const char **av);
-EI int anope_event_sid(const char *source, int ac, const char **av);
-EI int anope_event_nick(const char *source, int ac, const char **av);
-EI int anope_event_bmask(const char *source, int ac, const char **av);
-EI int anope_event_gnotice(const char *source, int ac, const char **av);
-EI int anope_event_privmsg(const char *source, int ac, const char **av);
-EI int anope_event_capab(const char *source, int ac, const char **av);
-EI int anope_event_sjoin(const char *source, int ac, const char **av);
-EI int anope_event_cs(const char *source, int ac, const char **av);
-EI int anope_event_hs(const char *source, int ac, const char **av);
-EI int anope_event_ms(const char *source, int ac, const char **av);
-EI int anope_event_ns(const char *source, int ac, const char **av);
-EI int anope_event_os(const char *source, int ac, const char **av);
-EI int anope_event_vs(const char *source, int ac, const char **av);
-EI int anope_event_svinfo(const char *source, int ac, const char **av);
-EI int anope_event_chghost(const char *source, int ac, const char **av);
-EI int anope_event_sethost(const char *source, int ac, const char **av);
-EI int anope_event_chgident(const char *source, int ac, const char **av);
-EI int anope_event_setident(const char *source, int ac, const char **av);
-EI int anope_event_chgname(const char *source, int ac, const char **av);
-EI int anope_event_setname(const char *source, int ac, const char **av);
-EI int anope_event_svsinfo(const char *source, int ac, const char **av);
-EI int anope_event_snick(const char *source, int ac, const char **av);
-EI int anope_event_vhost(const char *source, int ac, const char **av);
-EI int anope_event_tkl(const char *source, int ac, const char **av);
-EI int anope_event_eos(const char *source, int ac, const char **av);
-EI int anope_event_eob(const char *source, int ac, const char **av);
-EI int anope_event_pass(const char *source, int ac, const char **av);
-EI int anope_event_netinfo(const char *source, int ac, const char **av);
-EI int anope_event_error(const char *source, int ac, const char **av);
-EI int anope_event_eb(const char *source, int ac, const char **av);
-EI int anope_event_netctrl(const char *source, int ac, const char **av);
-EI int anope_event_notice(const char *source, int ac, const char **av);
-EI int anope_event_snotice(const char *source, int ac, const char **av);
-EI int anope_event_sqline(const char *source, int ac, const char **av);
-EI int anope_event_smo(const char *source, int ac, const char **av);
-EI int anope_event_myid(const char *source, int ac, const char **av);
-EI int anope_event_vctrl(const char *source, int ac, const char **av);
-EI int anope_event_tctrl(const char *source, int ac, const char **av);
-EI int anope_event_snetinfo(const char *source, int ac, const char **av);
-EI int anope_event_umode2(const char *source, int ac, const char **av);
-EI int anope_event_globops(const char *source, int ac, const char **av);
-EI int anope_event_swhois(const char *source, int ac, const char **av);
-EI int anope_event_burst(const char *source, int ac, const char **av);
-EI int anope_event_luserslock(const char *source, int ac, const char **av);
-EI int anope_event_admin(const char *source, int ac, const char **av);
-EI int anope_event_credits(const char *source, int ac, const char **av);
-EI int anope_event_rehash(const char *source, int ac, const char **av);
-EI int anope_event_sdesc(const char *source, int ac, const char **av);
-EI int anope_event_netglobal(const char *source, int ac, const char **av);
-EI int anope_event_invite(const char *source, int ac, const char **av);
-E int anope_event_null(const char *source, int ac, const char **av);
-
E void anope_ProcessUsermodes(User * user, int ac, const char **av);
E void anope_SendSVID(const char *nick, time_t ts);
E void anope_SendSVID2(User *u, const char *ts);
diff --git a/include/services.h b/include/services.h
index 765c7eb74..6abfcf6dc 100644
--- a/include/services.h
+++ b/include/services.h
@@ -435,8 +435,8 @@ typedef struct {
#define CHAN_VERSION 16
#define EXCEPTION_VERSION 9
#define NEWS_VERSION 9
-#define NICK_VERSION 13
-#define PRE_NICK_VERSION 1
+#define NICK_VERSION 14
+#define PRE_NICK_VERSION 2
#define OPER_VERSION 13
#define HELP_VERSION 1
#define HOST_VERSION 3
@@ -486,7 +486,7 @@ struct nickrequest_ {
NickRequest *next, *prev;
char *nick;
char *passcode;
- char *password;
+ char password[PASSMAX];
char *email;
time_t requested;
time_t lastmail; /* Unsaved */
@@ -511,7 +511,7 @@ struct nickcore_ {
NickCore *next, *prev;
char *display; /* How the nick is displayed */
- char *pass; /* Password of the nicks */
+ char pass[PASSMAX]; /* Password of the nicks */
char *email; /* E-mail associated to the nick */
char *greet; /* Greet associated to the nick */
uint32 icq; /* ICQ # associated to the nick */
@@ -1246,9 +1246,9 @@ class IRCDProto {
virtual void SendMessage(BotInfo *bi, const char *dest, const char *buf)
{
if (NSDefFlags & NI_MSG)
- cmd_privmsg(bi, dest, buf);
+ SendPrivmsg(bi, dest, buf);
else
- cmd_notice(bi, dest, buf);
+ SendNotice(bi, dest, buf);
}
virtual void SendNotice(BotInfo *bi, const char *dest, const char *msg)
{
@@ -1361,9 +1361,9 @@ class IRCDProto {
}
};
-class IRCdProtoTS6 : public IRCdProto
+class IRCDTS6Proto : public IRCDProto
{
-}
+};
/*************************************************************************/