Skip to content

Commit

Permalink
Fix null on multiserver
Browse files Browse the repository at this point in the history
  • Loading branch information
xDestx committed Feb 23, 2018
1 parent eac0d4b commit a92386f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ComBot/src/main/java/com/mdc/combot/ComBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public String getCommandPrefix() {
* @return The command prefix for this guild
*/
public String getCommandPrefix(Guild g) {
if(g == null) {
if(g == null || !this.multiServer) {
return getCommandPrefix();
} else {
String cmdPrefix;
Expand Down

0 comments on commit a92386f

Please sign in to comment.