summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-26 19:41:13 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-26 19:41:13 +0000
commit4098cf85d057894dace92ce9a1b0b4ff3f808c3a (patch)
tree453b151f6d14e9e1414b5c393ce4a0e12dc88e03
parenta75069a6eba871aeb17809119b319e6e806edffc (diff)
- Revert -r1925. We no longer show how many times an oline has been hit.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2948 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--modules/m_challenge.c1
-rw-r--r--modules/m_oper.c1
-rw-r--r--modules/m_stats.c4
-rw-r--r--src/numeric.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/modules/m_challenge.c b/modules/m_challenge.c
index 78d44fe..524eddc 100644
--- a/modules/m_challenge.c
+++ b/modules/m_challenge.c
@@ -108,7 +108,6 @@ m_challenge(struct Client *client_p, struct Client *source_p,
return 0;
}
- ++conf->count;
oper_up(source_p);
ilog(LOG_TYPE_OPER, "OPER %s by %s!%s@%s",
diff --git a/modules/m_oper.c b/modules/m_oper.c
index 003a342..24a8dac 100644
--- a/modules/m_oper.c
+++ b/modules/m_oper.c
@@ -124,7 +124,6 @@ m_oper(struct Client *client_p, struct Client *source_p,
return 0;
}
- ++conf->count;
oper_up(source_p);
ilog(LOG_TYPE_OPER, "OPER %s by %s!%s@%s",
diff --git a/modules/m_stats.c b/modules/m_stats.c
index 7ca8f0d..fd453fc 100644
--- a/modules/m_stats.c
+++ b/modules/m_stats.c
@@ -151,12 +151,12 @@ report_confitem_types(struct Client *source_p, enum maskitem_type type)
/* Don't allow non opers to see oper privs */
if (HasUMode(source_p, UMODE_OPER))
sendto_one(source_p, form_str(RPL_STATSOLINE),
- me.name, source_p->name, 'O', conf->count, conf->user, conf->host,
+ me.name, source_p->name, 'O', conf->user, conf->host,
conf->name, oper_privs_as_string(conf->port),
conf->class ? conf->class->name : "<default>");
else
sendto_one(source_p, form_str(RPL_STATSOLINE),
- me.name, source_p->name, 'O', conf->count, conf->user, conf->host,
+ me.name, source_p->name, 'O', conf->user, conf->host,
conf->name, "0",
conf->class ? conf->class->name : "<default>");
}
diff --git a/src/numeric.c b/src/numeric.c
index ce5ba82..1c50f1b 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -277,7 +277,7 @@ static const char *const replies[] =
/* 240 */ NULL,
/* 241 RPL_STATSLLINE */ ":%s 241 %s %c %s * %s %d %s",
/* 242 RPL_STATSUPTIME */ ":%s 242 %s :Server Up %d days, %d:%02d:%02d",
-/* 243 RPL_STATSOLINE */ ":%s 243 %s %c %u %s@%s * %s %s %s",
+/* 243 RPL_STATSOLINE */ ":%s 243 %s %c %s@%s * %s %s %s",
/* 244 RPL_STATSHLINE */ ":%s 244 %s %c %s * %s %d %s",
/* 245 RPL_STATSTLINE */ ":%s 245 %s T %s %s",
/* 246 RPL_STATSSERVICE */ ":%s 246 %s %c %s * %s %d %d",