kunt

golang IRC bot
git clone git://git.2f30.org/kunt.git
Log | Files | Refs | LICENSE

commit 6d6c71bbb2e583410c2b15f954b90ab6b8814de5
parent 063aa600b46ee2f39c4e0befccfd7523f5fe5ef4
Author: dsp <dsp@2f30.org>
Date:   Wed Apr 30 19:24:26 +0100

removed the calls to runtime.Gosched and runtime

Diffstat:
src/irc/message.go | 21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)
diff --git a/src/irc/message.go b/src/irc/message.go @@ -6,7 +6,6 @@ package irc import ( "fmt" - "runtime" "strings" ) @@ -26,8 +25,6 @@ func (i *Context) Pong(host string) { Args: []string{":" + host}, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Pass() { @@ -36,8 +33,6 @@ func (i *Context) Pass() { Args: []string{i.network.pass}, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Nick() { @@ -46,8 +41,6 @@ func (i *Context) Nick() { Args: []string{i.network.nick}, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) User() { @@ -60,8 +53,6 @@ func (i *Context) User() { }, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Join(channel string, key string) { @@ -70,8 +61,6 @@ func (i *Context) Join(channel string, key string) { Args: []string{channel, key}, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Part(channel string, text string) { @@ -83,8 +72,6 @@ func (i *Context) Part(channel string, text string) { }, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Quit(text string) { @@ -93,8 +80,6 @@ func (i *Context) Quit(text string) { Args: []string{":" + text}, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Privmsg(channel string, text string) { @@ -106,8 +91,6 @@ func (i *Context) Privmsg(channel string, text string) { }, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Notice(nick string, text string) { @@ -119,8 +102,6 @@ func (i *Context) Notice(nick string, text string) { }, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) Topic(channel string, text string) { @@ -132,8 +113,6 @@ func (i *Context) Topic(channel string, text string) { }, } i.outgoingMsg <- msg - // Pff... - runtime.Gosched() } func (i *Context) ParseRawMessage(raw string) (*Message, error) {