ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/core/m_server.c
(Generate patch)

Comparing ircd-hybrid-8/modules/core/m_server.c (file contents):
Revision 1169 by michael, Fri Aug 12 18:45:03 2011 UTC vs.
Revision 1178 by michael, Mon Aug 15 08:11:31 2011 UTC

# Line 50 | Line 50 | static void ms_sid(struct Client *, stru
50   static void set_server_gecos(struct Client *, char *);
51  
52   struct Message server_msgtab = {
53 <  "SERVER", 0, 0, 4, 0, MFLG_SLOW | MFLG_UNREG, 0,
53 >  "SERVER", 0, 0, 4, MAXPARA, MFLG_SLOW | MFLG_UNREG, 0,
54    {mr_server, m_registered, ms_server, m_ignore, m_registered, m_ignore}
55   };
56  
57   struct Message sid_msgtab = {
58 <  "SID", 0, 0, 5, 0, MFLG_SLOW, 0,
58 >  "SID", 0, 0, 5, MAXPARA, MFLG_SLOW, 0,
59    {rfc1459_command_send_error, m_ignore, ms_sid, m_ignore, m_ignore, m_ignore}
60   };
61  
# Line 91 | Line 91 | mr_server(struct Client *client_p, struc
91    struct Client *target_p;
92    int hop;
93  
94 <  if (parc < 4 || EmptyString(parv[3]))
94 >  if (EmptyString(parv[3]))
95    {
96      sendto_one(client_p, "ERROR :No servername");
97      exit_client(client_p, client_p, "Wrong number of args");
# Line 262 | Line 262 | ms_server(struct Client *client_p, struc
262    if (!IsServer(source_p))
263      return;
264  
265 <  if (parc < 4 || EmptyString(parv[3]))
265 >  if (EmptyString(parv[3]))
266    {
267      sendto_one(client_p, "ERROR :No servername");
268      return;
# Line 482 | Line 482 | ms_sid(struct Client *client_p, struct C
482    if (!IsServer(source_p))
483      return;
484  
485 <  if (parc < 5 || EmptyString(parv[4]))
485 >  if (EmptyString(parv[4]))
486    {
487      sendto_one(client_p, "ERROR :No servername");
488      return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines