Only show twitter count to ops.
This commit is contained in:
parent
e0d1919808
commit
0d913eca4d
1 changed files with 7 additions and 5 deletions
|
@ -843,13 +843,15 @@ public class Mobibot extends PircBot {
|
|||
info.append("Uptime: ").append(Utils.uptime(ManagementFactory.getRuntimeMXBean().getUptime())).append(
|
||||
" [Entries: ").append(entries.size());
|
||||
|
||||
if (tell.isEnabled() && isOp(sender)) {
|
||||
if (isOp(sender)) {
|
||||
if (tell.isEnabled()) {
|
||||
info.append(", Messages: ").append(tell.size());
|
||||
}
|
||||
|
||||
if (twitterAutoPost && twitterModule.isEnabled()) {
|
||||
info.append(", Twitter: ").append(twitterAutoLinks.size());
|
||||
}
|
||||
}
|
||||
|
||||
info.append(", Recap: ").append(recap.size()).append(']');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue