diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-18 16:36:56 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-18 16:36:56 +0000 |
commit | 34675aaac16e0162d640380a210761d0d52a05d9 (patch) | |
tree | 1e25a631d40d4d4343052e0c9d756d205205da13 /modules | |
parent | b19a9cfc5bd995de28946243f1a339890bdd8a22 (diff) |
- Added 'unxline' oper privilege for better fine tuning
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2854 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_xline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_xline.c b/modules/m_xline.c index 45f6a73..c10eb2a 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -74,7 +74,7 @@ mo_xline(struct Client *client_p, struct Client *source_p, char *target_server = NULL; time_t tkline_time = 0; - if (!HasOFlag(source_p, OPER_FLAG_X)) + if (!HasOFlag(source_p, OPER_FLAG_XLINE)) { sendto_one(source_p, form_str(ERR_NOPRIVS), me.name, source_p->name, "xline"); @@ -228,7 +228,7 @@ mo_unxline(struct Client *client_p, struct Client *source_p, char *gecos = NULL; char *target_server = NULL; - if (!HasOFlag(source_p, OPER_FLAG_X)) + if (!HasOFlag(source_p, OPER_FLAG_UNXLINE)) { sendto_one(source_p, form_str(ERR_NOPRIVS), me.name, source_p->name, "xline"); |