removed case sensitivity of module commands

This commit is contained in:
da
2016-02-26 19:00:00 +01:00
parent 44ee1cf628
commit 6fc0ac3c9d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ func weatherHandleMessage(m *irc.Message) {
if len(tok) < 1 {
return
}
switch tok[0] {
switch strings.ToLower(tok[0]) {
case "!weather", "!wetter":
switch len(tok) {
case 1: