"!cit" -> "!sccit", "!org" -> "!scorg"

This commit is contained in:
Andreas Neue 2016-01-11 07:18:52 +01:00
parent 51b7e05596
commit 519dc98189
4 changed files with 6 additions and 6 deletions

View File

@ -17,4 +17,4 @@ ENV PATH $PATH:/flokatirc
WORKDIR /flokatirc
CMD [ "/flokatirc/flokatirc", "-server=irc.dnix.de:6667", "-name=Flokati", "-chan=#northbrigade", "-nsname=N", "-nspass=t0ps3cr37" ]
CMD [ "/flokatirc/flokatirc", "-server=irc.dnix.de:6667", "-name=Flokati", "-chan=#test", "-nsname=N", "-nspass=t0ps3cr37" ]

View File

@ -1,8 +1,8 @@
// vim:ts=4:sts=4:sw=4:noet:tw=72
// vi:ts=4:sts=4:sw=4:noet:tw=72
//
// flokatirc
//
// Copyright (c) 2015 Andreas Neue <an@dnix.de>
// Copyright (c) 2015,2016 Andreas Neue <an@dnix.de>
package main

View File

@ -61,11 +61,11 @@ func HandleMessage(m *irc.Message) {
switch tok[0] {
case "!scstats":
showScStats()
case "!cit":
case "!sccit":
if len(tok) > 1 {
showCitizen(tok[1])
}
case "!org":
case "!scorg":
if len(tok) > 1 {
showOrganization(tok[1])
}

View File

@ -1,4 +1,4 @@
// vim:ts=4:sts=4:sw=4:noet:tw=72
// vi:ts=4:sts=4:sw=4:noet:tw=72
package util