projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- The big forward port. I probably broke lots of stuff, so please look over any
[ircu2.10.12-pk.git]
/
ircd
/
parse.c
diff --git
a/ircd/parse.c
b/ircd/parse.c
index d5cd49d51f3eead0d80ea23820156a3acede1a5e..4a1d7f6161bc18ab4c7ac8da3183af0e41d5d5eb 100644
(file)
--- a/
ircd/parse.c
+++ b/
ircd/parse.c
@@
-30,7
+30,6
@@
#include "ircd_alloc.h"
#include "ircd_chattr.h"
#include "ircd_features.h"
#include "ircd_alloc.h"
#include "ircd_chattr.h"
#include "ircd_features.h"
-#include "ircd_policy.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
@@
-93,6
+92,13
@@
struct Message msgtab[] = {
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
{ m_unregistered, m_wallchops, ms_wallchops, m_wallchops, m_ignore }
},
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
{ m_unregistered, m_wallchops, ms_wallchops, m_wallchops, m_ignore }
},
+ {
+ MSG_WALLVOICES,
+ TOK_WALLVOICES,
+ 0, MAXPARA, MFLG_SLOW, 0,
+ /* UNREG, CLIENT, SERVER, OPER, SERVICE */
+ { m_unregistered, m_wallvoices, ms_wallvoices, m_wallvoices, m_ignore }
+ },
{
MSG_CPRIVMSG,
TOK_CPRIVMSG,
{
MSG_CPRIVMSG,
TOK_CPRIVMSG,
@@
-315,11
+321,7
@@
struct Message msgtab[] = {
TOK_TRACE,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
TOK_TRACE,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
-#ifdef HEAD_IN_SAND_TRACE
- { m_unregistered, m_not_oper, ms_trace, mo_trace, m_ignore }
-#else
{ m_unregistered, m_trace, ms_trace, mo_trace, m_ignore }
{ m_unregistered, m_trace, ms_trace, mo_trace, m_ignore }
-#endif
},
{
MSG_PASS,
},
{
MSG_PASS,
@@
-382,7
+384,7
@@
struct Message msgtab[] = {
TOK_MAP,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
TOK_MAP,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
- { m_unregistered, m_map, m_ignore, m
o
_map, m_ignore }
+ { m_unregistered, m_map, m_ignore, m_map, m_ignore }
},
{
MSG_VERSION,
},
{
MSG_VERSION,
@@
-396,18
+398,14
@@
struct Message msgtab[] = {
TOK_STATS,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
TOK_STATS,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
- { m_unregistered, m_stats, m
s_stats, mo
_stats, m_ignore }
+ { m_unregistered, m_stats, m
_stats, m
_stats, m_ignore }
},
{
MSG_LINKS,
TOK_LINKS,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
},
{
MSG_LINKS,
TOK_LINKS,
0, MAXPARA, MFLG_SLOW, 0,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
-#ifdef HEAD_IN_SAND_LINKS
- { m_unregistered, m_links_redirect, m_links, m_links, m_ignore }
-#else
- { m_unregistered, m_links, m_links, m_links, m_ignore }
-#endif
+ { m_unregistered, m_links, ms_links, m_links, m_ignore }
},
{
MSG_ADMIN,
},
{
MSG_ADMIN,
@@
-577,6
+575,13
@@
struct Message msgtab[] = {
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
{ m_ignore, m_ignore, ms_account, m_ignore, m_ignore }
},
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
{ m_ignore, m_ignore, ms_account, m_ignore, m_ignore }
},
+ {
+ MSG_ASLL,
+ TOK_ASLL,
+ 0, MAXPARA, MFLG_SLOW, 0,
+ /* UNREG, CLIENT, SERVER, OPER, SERVICE */
+ { m_ignore, m_not_oper, ms_asll, mo_asll, m_ignore }
+ },
/* This command is an alias for QUIT during the unregistered part of
* of the server. This is because someone jumping via a broken web
* proxy will send a 'POST' as their first command - which we will
/* This command is an alias for QUIT during the unregistered part of
* of the server. This is because someone jumping via a broken web
* proxy will send a 'POST' as their first command - which we will