Fixed missing trim of commands (#5316).
This commit is contained in:
parent
8e51e5c25b
commit
9a3bf64417
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ public class Hebdobot extends PircBot
|
||||||
this.review.addRaw(new Message(sender, text));
|
this.review.addRaw(new Message(sender, text));
|
||||||
}
|
}
|
||||||
|
|
||||||
text = message.replaceAll("^" + getName().replace("[", "\\[").replaceAll("]", "\\]") + "[,:]\\s*", "!");
|
text = text.replaceAll("^" + getName().replace("[", "\\[").replaceAll("]", "\\]") + "[,:]\\s*", "!");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue