diff --git a/client.go b/client.go index 96c6a8b..345f6b9 100644 --- a/client.go +++ b/client.go @@ -1,6 +1,6 @@ // vim:ts=4:sts=4:sw=4:noet:tw=72 -package main +package ircd import ( "bufio" diff --git a/protocol.go b/protocol.go index 30969ff..1712fb9 100644 --- a/protocol.go +++ b/protocol.go @@ -1,4 +1,4 @@ -package main +package ircd const ( // Commands diff --git a/server.go b/server.go index c62fa03..de08b5e 100644 --- a/server.go +++ b/server.go @@ -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) }