/[svn]/ircd-hybrid-8/modules/m_services.c
ViewVC logotype

Diff of /ircd-hybrid-8/modules/m_services.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1169 by michael, Fri Aug 12 18:45:03 2011 UTC revision 1178 by michael, Mon Aug 15 08:11:31 2011 UTC
# Line 50  static void m_operserv(struct Client *, Line 50  static void m_operserv(struct Client *,
50  static void m_identify(struct Client *, struct Client *, int, char *[]);  static void m_identify(struct Client *, struct Client *, int, char *[]);
51    
52  struct Message ms_msgtab = {  struct Message ms_msgtab = {
53    "MS", 0, 0, 1, 0, MFLG_SLOW, 0,    "MS", 0, 0, 2, 1, MFLG_SLOW, 0,
54    {m_unregistered, m_memoserv, m_ignore, m_ignore, m_memoserv, m_ignore}    {m_unregistered, m_memoserv, m_ignore, m_ignore, m_memoserv, m_ignore}
55  };  };
56    
57  struct Message ns_msgtab = {  struct Message ns_msgtab = {
58    "NS", 0, 0, 1, 0, MFLG_SLOW, 0,    "NS", 0, 0, 2, 1, MFLG_SLOW, 0,
59    {m_unregistered, m_nickserv, m_ignore, m_ignore, m_nickserv, m_ignore}    {m_unregistered, m_nickserv, m_ignore, m_ignore, m_nickserv, m_ignore}
60  };  };
61    
62  struct Message os_msgtab = {  struct Message os_msgtab = {
63    "OS", 0, 0, 1, 0, MFLG_SLOW, 0,    "OS", 0, 0, 2, 1, MFLG_SLOW, 0,
64    {m_unregistered, m_operserv, m_ignore, m_ignore, m_operserv, m_ignore}    {m_unregistered, m_operserv, m_ignore, m_ignore, m_operserv, m_ignore}
65  };  };
66    
67  struct Message bs_msgtab = {  struct Message bs_msgtab = {
68    "BS", 0, 0, 1, 0, MFLG_SLOW, 0,    "BS", 0, 0, 2, 1, MFLG_SLOW, 0,
69    {m_unregistered, m_botserv, m_ignore, m_ignore, m_botserv, m_ignore}    {m_unregistered, m_botserv, m_ignore, m_ignore, m_botserv, m_ignore}
70  };  };
71    
72  struct Message cs_msgtab = {  struct Message cs_msgtab = {
73    "CS", 0, 0, 1, 0, MFLG_SLOW, 0,    "CS", 0, 0, 2, 1, MFLG_SLOW, 0,
74    {m_unregistered, m_chanserv, m_ignore, m_ignore, m_chanserv, m_ignore}    {m_unregistered, m_chanserv, m_ignore, m_ignore, m_chanserv, m_ignore}
75  };  };
76    
77  struct Message botserv_msgtab = {  struct Message botserv_msgtab = {
78    "BOTSERV", 0, 0, 1, 0, MFLG_SLOW, 0,    "BOTSERV", 0, 0, 2, 1, MFLG_SLOW, 0,
79    {m_unregistered, m_botserv, m_ignore, m_ignore, m_botserv, m_ignore}    {m_unregistered, m_botserv, m_ignore, m_ignore, m_botserv, m_ignore}
80  };  };
81    
82  struct Message chanserv_msgtab = {  struct Message chanserv_msgtab = {
83    "CHANSERV", 0, 0, 1, 0, MFLG_SLOW, 0,    "CHANSERV", 0, 0, 2, 1, MFLG_SLOW, 0,
84    {m_unregistered, m_chanserv, m_ignore, m_ignore, m_chanserv, m_ignore}    {m_unregistered, m_chanserv, m_ignore, m_ignore, m_chanserv, m_ignore}
85  };  };
86    
87  struct Message memoserv_msgtab = {  struct Message memoserv_msgtab = {
88    "MEMOSERV", 0, 0, 1, 0, MFLG_SLOW, 0,    "MEMOSERV", 0, 0, 2, 1, MFLG_SLOW, 0,
89    {m_unregistered, m_memoserv, m_ignore, m_ignore, m_memoserv, m_ignore}    {m_unregistered, m_memoserv, m_ignore, m_ignore, m_memoserv, m_ignore}
90  };  };
91    
92  struct Message nickserv_msgtab = {  struct Message nickserv_msgtab = {
93    "NICKSERV", 0, 0, 1, 0, MFLG_SLOW, 0,    "NICKSERV", 0, 0, 2, 1, MFLG_SLOW, 0,
94    {m_unregistered, m_nickserv, m_ignore, m_ignore, m_nickserv, m_ignore}    {m_unregistered, m_nickserv, m_ignore, m_ignore, m_nickserv, m_ignore}
95  };  };
96    
97  struct Message operserv_msgtab = {  struct Message operserv_msgtab = {
98    "OPERSERV", 0, 0, 1, 0, MFLG_SLOW, 0,    "OPERSERV", 0, 0, 2, 1, MFLG_SLOW, 0,
99    {m_unregistered, m_operserv, m_ignore, m_ignore, m_operserv, m_ignore}    {m_unregistered, m_operserv, m_ignore, m_ignore, m_operserv, m_ignore}
100  };  };
101    
102  struct Message identify_msgtab = {  struct Message identify_msgtab = {
103    "IDENTIFY", 0, 0, 1, 0, MFLG_SLOW, 0,    "IDENTIFY", 0, 0, 2, 1, MFLG_SLOW, 0,
104    {m_unregistered, m_identify, m_ignore, m_ignore, m_identify, m_ignore}    {m_unregistered, m_identify, m_ignore, m_ignore, m_identify, m_ignore}
105  };  };
106    
# Line 152  m_nickserv(struct Client *client_p, stru Line 152  m_nickserv(struct Client *client_p, stru
152    assert(client_p && source_p);    assert(client_p && source_p);
153    assert(client_p == source_p);    assert(client_p == source_p);
154    
155    if (parc < 2 || EmptyString(parv[1]))    if (EmptyString(parv[1]))
156    {    {
157      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),
158                 me.name, source_p->name);                 me.name, source_p->name);
# Line 179  m_chanserv(struct Client *client_p, stru Line 179  m_chanserv(struct Client *client_p, stru
179    assert(client_p && source_p);    assert(client_p && source_p);
180    assert(client_p == source_p);    assert(client_p == source_p);
181    
182    if (parc < 2 || EmptyString(parv[1]))    if (EmptyString(parv[1]))
183    {    {
184      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),
185                 me.name, source_p->name);                 me.name, source_p->name);
# Line 206  m_memoserv(struct Client *client_p, stru Line 206  m_memoserv(struct Client *client_p, stru
206    assert(client_p && source_p);    assert(client_p && source_p);
207    assert(client_p == source_p);    assert(client_p == source_p);
208    
209    if (parc < 2 || EmptyString(parv[1]))    if (EmptyString(parv[1]))
210    {    {
211      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),
212                 me.name, source_p->name);                 me.name, source_p->name);
# Line 233  m_operserv(struct Client *client_p, stru Line 233  m_operserv(struct Client *client_p, stru
233    assert(client_p && source_p);    assert(client_p && source_p);
234    assert(client_p == source_p);    assert(client_p == source_p);
235    
236    if (parc < 2 || EmptyString(parv[1]))    if (EmptyString(parv[1]))
237    {    {
238      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),
239                 me.name, source_p->name);                 me.name, source_p->name);
# Line 260  m_botserv(struct Client *client_p, struc Line 260  m_botserv(struct Client *client_p, struc
260    assert(client_p && source_p);    assert(client_p && source_p);
261    assert(client_p == source_p);    assert(client_p == source_p);
262    
263    if (parc < 2 || EmptyString(parv[1]))    if (EmptyString(parv[1]))
264    {    {
265      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),
266                 me.name, source_p->name);                 me.name, source_p->name);
# Line 284  m_identify(struct Client *client_p, stru Line 284  m_identify(struct Client *client_p, stru
284  {  {
285    struct Client *target_p = NULL;    struct Client *target_p = NULL;
286    
287    if (parc < 2 || EmptyString(parv[1]))    if (EmptyString(parv[1]))
288    {    {
289      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),      sendto_one(source_p, form_str(ERR_NOTEXTTOSEND),
290                 me.name, source_p->name);                 me.name, source_p->name);

Legend:
Removed from v.1169  
changed lines
  Added in v.1178

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28