Made code.dnix.de/an/ircd a library
This commit is contained in:
parent
60506584cb
commit
6a97a1d87f
|
@ -1,6 +1,6 @@
|
|||
// vim:ts=4:sts=4:sw=4:noet:tw=72
|
||||
|
||||
package main
|
||||
package ircd
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package main
|
||||
package ircd
|
||||
|
||||
const (
|
||||
// Commands
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// vim:ts=4:sts=4:sw=4:noet:tw=72
|
||||
|
||||
package main
|
||||
package ircd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
@ -22,8 +22,6 @@ const (
|
|||
TOPICLEN = 1024
|
||||
)
|
||||
|
||||
var flagConfig string
|
||||
|
||||
var myinfo string = "%s %s/%s * *"
|
||||
var isupport string = "ALIAS FRIEND UNFRIEND CASEMAPPING=rfc1459 CHANLIMIT=#:1024 CHANMODES=b,k,l,imnpst CHANNELLEN=200 CHANTYPES=# EXCEPTS=e KICKLEN MAXLIST=b:50,e:50 MODES=1 NETWORK=dnix.de NICKLEN=32 PREFIX=(aohv)&@%%+ SAFELIST STATUSMSG=&@%%+ TOPICLEN"
|
||||
|
||||
|
@ -240,7 +238,6 @@ func (srv *Server) channelBroadcast(ch string, msg *irc.Message) {
|
|||
}
|
||||
|
||||
func (srv *Server) channelJoin(nick, ch string) {
|
||||
println("join")
|
||||
if _, exists := srv.channels[ch]; !exists {
|
||||
srv.channels[ch] = make(map[string]string)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue