summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions.c2
-rw-r--r--src/bahamut.c3
-rw-r--r--src/base64.c2
-rw-r--r--src/botserv.c2
-rw-r--r--src/channels.c2
-rw-r--r--src/chanserv.c2
-rw-r--r--src/commands.c2
-rw-r--r--src/compat.c2
-rw-r--r--src/config.c2
-rw-r--r--src/converter.c2
-rw-r--r--src/datafiles.c2
-rw-r--r--src/dreamforge.c3
-rw-r--r--src/encrypt.c2
-rw-r--r--src/helpserv.c2
-rw-r--r--src/hostserv.c2
-rw-r--r--src/hybrid.c3
-rw-r--r--src/init.c2
-rw-r--r--src/language.c2
-rw-r--r--src/list.c2
-rw-r--r--src/log.c2
-rw-r--r--src/mail.c2
-rw-r--r--src/main.c2
-rw-r--r--src/memory.c2
-rw-r--r--src/memoserv.c2
-rw-r--r--src/messages.c2
-rw-r--r--src/misc.c2
-rw-r--r--src/modules.c2
-rw-r--r--src/mysql.c2
-rw-r--r--src/news.c2
-rw-r--r--src/nickserv.c2
-rw-r--r--src/operserv.c2
-rw-r--r--src/plexus.c3
-rw-r--r--src/process.c2
-rw-r--r--src/proxy.c2
-rw-r--r--src/ptlink.c3
-rw-r--r--src/rageircd.c3
-rw-r--r--src/ratbox.c65
-rw-r--r--src/rdb.c2
-rw-r--r--src/send.c2
-rw-r--r--src/servers.c8
-rw-r--r--src/sessions.c2
-rw-r--r--src/slist.c2
-rw-r--r--src/sockutil.c2
-rw-r--r--src/solidircd.c7
-rw-r--r--src/timeout.c2
-rw-r--r--src/tools/anopesmtp.c2
-rw-r--r--src/tools/smtp.h2
-rw-r--r--src/ultimate2.c3
-rw-r--r--src/ultimate3.c3
-rw-r--r--src/unreal31.c3
-rw-r--r--src/unreal32.c3
-rw-r--r--src/users.c2
-rw-r--r--src/viagra.c4
-rw-r--r--src/vsnprintf.c2
54 files changed, 94 insertions, 100 deletions
diff --git a/src/actions.c b/src/actions.c
index 9a4a2c23e..bc1d16c1c 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -1,6 +1,6 @@
/* Various routines to perform simple actions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/bahamut.c b/src/bahamut.c
index 755c89ced..5e40a7266 100644
--- a/src/bahamut.c
+++ b/src/bahamut.c
@@ -1,6 +1,6 @@
/* Bahamut functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/base64.c b/src/base64.c
index 80f1f7a2c..68fa80b96 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -1,6 +1,6 @@
/* base64 routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-1005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/botserv.c b/src/botserv.c
index 066378743..1931b8f6c 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -1,6 +1,6 @@
/* BotServ functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/channels.c b/src/channels.c
index 48e4ec691..78bdbb045 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1,6 +1,6 @@
/* Channel-handling routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/chanserv.c b/src/chanserv.c
index ad90e3080..02e612baf 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -1,6 +1,6 @@
/* ChanServ functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/commands.c b/src/commands.c
index e37eb574b..4ab6d90f1 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -1,6 +1,6 @@
/* Routines for looking up commands in a *Serv command list.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/compat.c b/src/compat.c
index 9437b18cf..9db98fc0f 100644
--- a/src/compat.c
+++ b/src/compat.c
@@ -1,6 +1,6 @@
/* Compatibility routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/config.c b/src/config.c
index bfb3afc5f..a14e3c300 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1,6 +1,6 @@
/* Configuration file handling.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/converter.c b/src/converter.c
index 029dea1bd..ad950430c 100644
--- a/src/converter.c
+++ b/src/converter.c
@@ -1,6 +1,6 @@
/* Database converters.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/datafiles.c b/src/datafiles.c
index e2300a6ea..48f460f8c 100644
--- a/src/datafiles.c
+++ b/src/datafiles.c
@@ -1,6 +1,6 @@
/* Database file handling routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/dreamforge.c b/src/dreamforge.c
index 74209826f..4193b9df9 100644
--- a/src/dreamforge.c
+++ b/src/dreamforge.c
@@ -1,6 +1,6 @@
/* DreamForge IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/encrypt.c b/src/encrypt.c
index 7b7e3ee7a..2904180ec 100644
--- a/src/encrypt.c
+++ b/src/encrypt.c
@@ -1,6 +1,6 @@
/* Include file for high-level encryption routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/helpserv.c b/src/helpserv.c
index 1ced1108f..7b69996e1 100644
--- a/src/helpserv.c
+++ b/src/helpserv.c
@@ -1,6 +1,6 @@
/* HelpServ functions
*
- * (C) 2003 Anope Team / GeniusDex
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/hostserv.c b/src/hostserv.c
index 7a76dc668..82bdb07ce 100644
--- a/src/hostserv.c
+++ b/src/hostserv.c
@@ -1,6 +1,6 @@
/* HostServ functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/hybrid.c b/src/hybrid.c
index 4301cc9e9..f48aa122f 100644
--- a/src/hybrid.c
+++ b/src/hybrid.c
@@ -1,6 +1,6 @@
/* Hybrid IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
0, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/init.c b/src/init.c
index d6a3fd0cb..2b77668eb 100644
--- a/src/init.c
+++ b/src/init.c
@@ -1,6 +1,6 @@
/* Initalization and related routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/language.c b/src/language.c
index cfde0184d..a43e03d65 100644
--- a/src/language.c
+++ b/src/language.c
@@ -1,6 +1,6 @@
/* Multi-language support.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/list.c b/src/list.c
index 80ff0d1cf..c177cd6ce 100644
--- a/src/list.c
+++ b/src/list.c
@@ -1,6 +1,6 @@
/* Routines to handle `listnicks' and `listchans' invocations.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/log.c b/src/log.c
index fa32dd37f..699ed2776 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,6 +1,6 @@
/* Logging routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/mail.c b/src/mail.c
index 407896122..b2394400d 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -1,6 +1,6 @@
/* Mail utility routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/main.c b/src/main.c
index e3eb8d05e..e544a4435 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
/* Services -- main source file.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/memory.c b/src/memory.c
index c1e1ba1c3..415853416 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -1,6 +1,6 @@
/* Memory management routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/memoserv.c b/src/memoserv.c
index db9d42e2c..7cf876785 100644
--- a/src/memoserv.c
+++ b/src/memoserv.c
@@ -1,6 +1,6 @@
/* MemoServ functions.
*
-* (C) 2003 Anope Team
+* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/messages.c b/src/messages.c
index dac9cc358..3d79ad2b2 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -1,6 +1,6 @@
/* Definitions of IRC message functions and list of messages.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/misc.c b/src/misc.c
index a238759b4..c1c2c7f7d 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1,7 +1,7 @@
/* Miscellaneous routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/modules.c b/src/modules.c
index ddaa609d7..32791dfd5 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -1,7 +1,7 @@
/* Modular support
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/mysql.c b/src/mysql.c
index c426389e5..bdbdb9c3a 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -1,7 +1,7 @@
/* MySQL functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/news.c b/src/news.c
index f303d5509..a85fbe4fa 100644
--- a/src/news.c
+++ b/src/news.c
@@ -1,7 +1,7 @@
/* News functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/nickserv.c b/src/nickserv.c
index 377f87f52..ae97855e4 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -1,7 +1,7 @@
/* NickServ functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/operserv.c b/src/operserv.c
index 11d1a2a51..91b8ef2ce 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1,6 +1,6 @@
/* OperServ functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/plexus.c b/src/plexus.c
index db0811631..835fcbc30 100644
--- a/src/plexus.c
+++ b/src/plexus.c
@@ -1,6 +1,6 @@
/* PlexusIRCD IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
"h", /* vhost char */
0, /* ts6 */
0, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/process.c b/src/process.c
index 838542fe1..2a3c04021 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1,6 +1,6 @@
/* Main processing code for Services.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/proxy.c b/src/proxy.c
index 0a6ff0d84..d1c90ff35 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -1,6 +1,6 @@
/* Proxy detector.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/ptlink.c b/src/ptlink.c
index 8025122ba..63ca9b117 100644
--- a/src/ptlink.c
+++ b/src/ptlink.c
@@ -1,6 +1,6 @@
/* PTLink IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/rageircd.c b/src/rageircd.c
index 72ad08e08..8fa7de622 100644
--- a/src/rageircd.c
+++ b/src/rageircd.c
@@ -1,6 +1,6 @@
/* Rage IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -106,6 +106,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
},
{NULL}
};
diff --git a/src/ratbox.c b/src/ratbox.c
index 746ed8adb..2c0891395 100644
--- a/src/ratbox.c
+++ b/src/ratbox.c
@@ -1,6 +1,6 @@
/* Ratbox IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
1, /* ts6 */
0, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
@@ -849,19 +850,9 @@ void anope_cmd_join(char *user, char *channel, time_t chantime)
{
Uid *ud;
- if (UseTS6) {
- ud = find_uid(user);
- if (ud) {
- send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
- channel, ud->uid);
- } else {
- send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
- channel, user);
- }
- } else {
- send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
- channel, user);
- }
+ ud = find_uid(user);
+ send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
+ channel, (UseTS6 ? (ud ? ud->uid : user) : user));
}
/*
@@ -876,7 +867,12 @@ reason: the reason for the kline.
void anope_cmd_akill(char *user, char *host, char *who, time_t when,
time_t expires, char *reason)
{
- send_cmd(s_OperServ, "KLINE * %ld %s %s :%s",
+ Uid *ud;
+
+ ud = find_uid(s_OperServ);
+
+ send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
+ "KLINE * %ld %s %s :%s",
(long int) (expires - (long) time(NULL)), user, host, reason);
}
@@ -901,17 +897,10 @@ void anope_cmd_svskill(char *source, char *user, const char *fmt, ...)
return;
}
- if (UseTS6) {
- ud = find_uid(source);
- ud2 = find_uid(user);
- if (ud && ud2) {
- send_cmd(ud->uid, "KILL %s :%s", ud2->uid, buf);
- } else {
- send_cmd(source, "KILL %s :%s", user, buf);
- }
- } else {
- send_cmd(source, "KILL %s :%s", user, buf);
- }
+ ud = find_uid(source);
+ ud2 = find_uid(user);
+ send_cmd((UseTS6 ? (ud ? ud->uid : source) : source), "KILL %s :%s",
+ (UseTS6 ? (ud2 ? ud2->uid : user) : user), buf);
}
void anope_cmd_svsmode(User * u, int ac, char **av)
@@ -1113,17 +1102,10 @@ int anope_event_privmsg(char *source, int ac, char **av)
return MOD_CONT;
}
- if (UseTS6) {
- u = find_byuid(source);
- ud = find_nickuid(av[0]);
- if (u) {
- m_privmsg(u->nick, (ud ? ud->nick : av[0]), av[1]);
- } else {
- m_privmsg(source, av[0], av[1]);
- }
- } else {
- m_privmsg(source, av[0], av[1]);
- }
+ u = find_byuid(source);
+ ud = find_nickuid(av[0]);
+ m_privmsg((UseTS6 ? (u ? u->nick : source) : source),
+ (UseTS6 ? (ud ? ud->nick : av[0]) : av[0]), av[1]);
return MOD_CONT;
}
@@ -1174,9 +1156,6 @@ int anope_event_sid(char *source, int ac, char **av)
/* :42X SID trystan.nomadirc.net 2 43X :ircd-ratbox test server */
- /* do_server(const char *source, char *servername, char *hops,
- char *descript, char *numeric) */
-
s = findserver_uid(servlist, source);
do_server(s->name, av[0], av[1], av[3], av[2]);
@@ -1201,11 +1180,7 @@ int anope_event_quit(char *source, int ac, char **av)
u = find_byuid(source);
- if (UseTS6 && u) {
- do_quit(u->nick, ac, av);
- } else {
- do_quit(source, ac, av);
- }
+ do_quit((UseTS6 ? (u ? u->nick : source) : source), ac, av);
return MOD_CONT;
}
diff --git a/src/rdb.c b/src/rdb.c
index 40df00d9b..e8887f597 100644
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -1,6 +1,6 @@
/* RDB functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/send.c b/src/send.c
index dcf78ec47..e30bbd88a 100644
--- a/src/send.c
+++ b/src/send.c
@@ -1,6 +1,6 @@
/* Routines for sending stuff to the network.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/servers.c b/src/servers.c
index 31c85f8e4..49e230fc3 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -1,6 +1,6 @@
/* Routines to maintain a list of connected servers
*
- * (C) 2004 Anope Team / GeniusDex
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -98,7 +98,11 @@ Server *new_server(Server * uplink, const char *name, const char *desc,
serv->desc = sstrdup(desc);
serv->flags = flags;
serv->uplink = uplink;
- serv->suid = sstrdup(suid);
+ if (suid) {
+ serv->suid = sstrdup(suid);
+ } else {
+ serv->suid = NULL;
+ }
serv->sync = -1;
serv->links = NULL;
serv->prev = NULL;
diff --git a/src/sessions.c b/src/sessions.c
index 73bee9ad3..2bf0605ea 100644
--- a/src/sessions.c
+++ b/src/sessions.c
@@ -1,6 +1,6 @@
/* Session Limiting functions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/slist.c b/src/slist.c
index a5fab3c7b..81bd62ab0 100644
--- a/src/slist.c
+++ b/src/slist.c
@@ -1,6 +1,6 @@
/* Services list handler implementation.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/sockutil.c b/src/sockutil.c
index 06453cbf5..f6b3df156 100644
--- a/src/sockutil.c
+++ b/src/sockutil.c
@@ -1,6 +1,6 @@
/* Socket utility routines.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/solidircd.c b/src/solidircd.c
index ba4e212a6..03ef11fc5 100644
--- a/src/solidircd.c
+++ b/src/solidircd.c
@@ -1,6 +1,6 @@
/* Solid-IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,9 @@ IRCDVar ircd[] = {
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
"v", /* vhost char */
+ 0, /* ts6 */
+ 1, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
@@ -1567,7 +1570,7 @@ void anope_cmd_chg_nick(char *oldnick, char *newnick)
return;
}
- send_cmd(oldnick, "NICK %s", newnick);
+ send_cmd(oldnick, "NICK %s :%ld", newnick, (long int) time(NULL));
}
int anope_event_error(char *source, int ac, char **av)
diff --git a/src/timeout.c b/src/timeout.c
index bd7af4c8c..bc7705192 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -1,6 +1,6 @@
/* Routines for time-delayed actions.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/tools/anopesmtp.c b/src/tools/anopesmtp.c
index 3b9eabe6c..12949c9f9 100644
--- a/src/tools/anopesmtp.c
+++ b/src/tools/anopesmtp.c
@@ -1,6 +1,6 @@
/* smtp stuff handler for win32.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
diff --git a/src/tools/smtp.h b/src/tools/smtp.h
index 0dc0a0cbb..bce460684 100644
--- a/src/tools/smtp.h
+++ b/src/tools/smtp.h
@@ -1,6 +1,6 @@
/*
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
diff --git a/src/ultimate2.c b/src/ultimate2.c
index 853e88286..7b1049650 100644
--- a/src/ultimate2.c
+++ b/src/ultimate2.c
@@ -1,6 +1,6 @@
/* Ultimate IRCD 2 functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/ultimate3.c b/src/ultimate3.c
index 30535d808..37fecc9b8 100644
--- a/src/ultimate3.c
+++ b/src/ultimate3.c
@@ -1,6 +1,6 @@
/* Ultimate IRCD 3 functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
},
{NULL}
};
diff --git a/src/unreal31.c b/src/unreal31.c
index 07a73454c..014122cfc 100644
--- a/src/unreal31.c
+++ b/src/unreal31.c
@@ -1,6 +1,6 @@
/* Unreal IRCD 3.1.x functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -108,6 +108,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
},
{NULL}
};
diff --git a/src/unreal32.c b/src/unreal32.c
index 333d9a878..ddb553422 100644
--- a/src/unreal32.c
+++ b/src/unreal32.c
@@ -1,6 +1,6 @@
/* Unreal IRCD 3.2.x functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
},
{NULL}
};
diff --git a/src/users.c b/src/users.c
index 732c26e29..ca7c31b60 100644
--- a/src/users.c
+++ b/src/users.c
@@ -1,6 +1,6 @@
/* Routines to maintain a list of online users.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
diff --git a/src/viagra.c b/src/viagra.c
index f6b76978a..1599657ba 100644
--- a/src/viagra.c
+++ b/src/viagra.c
@@ -1,6 +1,6 @@
/* Viagra IRCD functions
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -8,6 +8,7 @@
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
+ * $Id$
*
*/
@@ -105,6 +106,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
+ 0, /* p10 */
}
,
{NULL}
diff --git a/src/vsnprintf.c b/src/vsnprintf.c
index d914ffc3c..b777847a4 100644
--- a/src/vsnprintf.c
+++ b/src/vsnprintf.c
@@ -1,6 +1,6 @@
/* An implementation of vsnprintf() for systems that don't have it.
*
- * (C) 2003 Anope Team
+ * (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.