diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-11-04 15:37:10 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-11-04 15:37:10 +0000 |
commit | 90aeacbf12d63dcd628caed461bd744639603d76 (patch) | |
tree | 5eb5c2aa3fd576ac33d84d2911482a3f200c1bea /contrib/m_operspy.c | |
parent | 8daa0e2a6fe61e95dc2dd145ebbdb2b05c097196 (diff) |
- Initial rewrite of the configuration subsystem
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1632 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'contrib/m_operspy.c')
-rw-r--r-- | contrib/m_operspy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/m_operspy.c b/contrib/m_operspy.c index e690be6..59356be 100644 --- a/contrib/m_operspy.c +++ b/contrib/m_operspy.c @@ -566,7 +566,7 @@ do_who_on_channel(struct Client *source_p, struct Channel *chptr, static void operspy_log(struct Client *source_p, const char *command, const char *target) { - struct ConfItem *conf = NULL; + struct MaskItem *conf = NULL; #ifdef OPERSPY_LOGFILE FILE *operspy_fb; dlink_node *cnode; @@ -583,7 +583,7 @@ operspy_log(struct Client *source_p, const char *command, const char *target) { conf = cnode->data; - if (conf->type == OPER_TYPE) + if (conf->type == CONF_OPER) opername = conf->name; } } |