mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 04:59:44 +02:00
"!cit" -> "!sccit", "!org" -> "!scorg"
This commit is contained in:
+1
-1
@@ -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" ]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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
-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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user