Cleanup.
This commit is contained in:
parent
21cbecff8e
commit
b8cecdad1d
4 changed files with 6 additions and 8 deletions
|
@ -98,11 +98,9 @@ class Addons {
|
|||
}
|
||||
}
|
||||
for (module in modules) {
|
||||
if ((isPrivate && module.isPrivateMsgEnabled) || !isPrivate) {
|
||||
if (module.commands.contains(cmd)) {
|
||||
if (((isPrivate && module.isPrivateMsgEnabled) || !isPrivate) && module.commands.contains(cmd)) {
|
||||
module.commandResponse(sender, cmd, args, isPrivate)
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
return false
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* InfoJ.java
|
||||
* Info.java
|
||||
*
|
||||
* Copyright (c) 2004-2021, Erik C. Thauvin (erik@thauvin.net)
|
||||
* All rights reserved.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Version.java
|
||||
* Versions.java
|
||||
*
|
||||
* Copyright (c) 2004-2021, Erik C. Thauvin (erik@thauvin.net)
|
||||
* All rights reserved.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue