34 |
#include "parse.h" |
#include "parse.h" |
35 |
#include "conf/modules.h" |
#include "conf/modules.h" |
36 |
|
|
37 |
static void mo_rehash(struct Client *, struct Client *, int, char **); |
static void mo_rehash(struct Client *, struct Client *, int, char *[]); |
38 |
|
|
39 |
struct Message rehash_msgtab = { |
struct Message rehash_msgtab = { |
40 |
"REHASH", 0, 0, 0, 0, MFLG_SLOW, 0, |
"REHASH", 0, 0, 0, 0, MFLG_SLOW, 0, |
41 |
{m_unregistered, m_not_oper, m_ignore, m_ignore, mo_rehash, m_ignore} |
{ m_unregistered, m_not_oper, m_ignore, m_ignore, mo_rehash, m_ignore } |
42 |
}; |
}; |
43 |
|
|
44 |
INIT_MODULE(m_rehash, "$Revision$") |
INIT_MODULE(m_rehash, "$Revision$") |
111 |
if (found) |
if (found) |
112 |
{ |
{ |
113 |
ilog(L_NOTICE, "REHASH %s From %s", |
ilog(L_NOTICE, "REHASH %s From %s", |
114 |
parv[1], get_client_name(source_p, HIDE_IP)); |
parv[1], get_oper_name(source_p)); |
115 |
return; |
return; |
116 |
} |
} |
117 |
else |
else |