forked from an/flokati
"!cit" -> "!sccit", "!org" -> "!scorg"
This commit is contained in:
parent
51b7e05596
commit
519dc98189
|
@ -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" ]
|
||||
|
|
4
main.go
4
main.go
|
@ -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
|
||||
|
||||
|
|
|
@ -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])
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue