ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_restart.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/m_restart.c (file contents):
Revision 5863 by michael, Tue Apr 28 12:23:14 2015 UTC vs.
Revision 5880 by michael, Sun May 3 16:01:42 2015 UTC

# Line 78 | Line 78 | mo_restart(struct Client *source_p, int
78  
79   static struct Message restart_msgtab =
80   {
81 <  "RESTART", NULL, 0, 0, 0, MAXPARA, MFLG_SLOW, 0,
82 <  { m_unregistered, m_not_oper, m_ignore, m_ignore, mo_restart, m_ignore }
81 >  .cmd = "RESTART",
82 >  .args_max = MAXPARA,
83 >  .handlers[UNREGISTERED_HANDLER] = m_unregistered,
84 >  .handlers[CLIENT_HANDLER] = m_not_oper,
85 >  .handlers[SERVER_HANDLER] = m_ignore,
86 >  .handlers[ENCAP_HANDLER] = m_ignore,
87 >  .handlers[OPER_HANDLER] = mo_restart
88   };
89  
90   static void

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)