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

Comparing ircd-hybrid-7.3/modules/m_admin.c (file contents):
Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC vs.
Revision 1121 by michael, Sun Jan 9 11:03:03 2011 UTC

# Line 48 | Line 48 | struct Message admin_msgtab = {
48    {mr_admin, m_admin, ms_admin, m_ignore, ms_admin, m_ignore}
49   };
50  
51 #ifndef STATIC_MODULES
51   static struct Callback *admin_cb;
52   const char *_version = "$Revision$";
53  
# Line 72 | Line 71 | _moddeinit(void)
71    mod_del_cmd(&admin_msgtab);
72    uninstall_hook(admin_cb, va_admin);
73   }
75 #endif
74  
75   /*! \brief ADMIN command handler (called by unregistered,
76   *         locally connected clients)
# Line 104 | Line 102 | mr_admin(struct Client *client_p, struct
102  
103    last_used = CurrentTime;
104  
107 #ifdef STATIC_MODULES
108  do_admin(client_p);
109 #else
105    execute_callback(admin_cb, source_p, parc, parv);
111 #endif
106   }
107  
108   /*! \brief NICK command handler (called by already registered,
# Line 145 | Line 139 | m_admin(struct Client *client_p, struct
139                      parc, parv) != HUNTED_ISME)
140        return;
141  
148 #ifdef STATIC_MODULES
149  do_admin(client_p);
150 #else
142    execute_callback(admin_cb, source_p, parc, parv);
152 #endif
143   }
144  
145   /*! \brief ADMIN command handler (called by operators and
# Line 175 | Line 165 | ms_admin(struct Client *client_p, struct
165      return;
166  
167    if (IsClient(source_p))
178 #ifdef STATIC_MODULES
179    do_admin(source_p);
180 #else
168      execute_callback(admin_cb, source_p, parc, parv);
182 #endif
169   }
170  
171   /*! \brief Sends administrative information about this server.

Diff Legend

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