You've already forked mpbot-github
mirror of
https://github.com/macports/mpbot-github.git
synced 2026-03-31 14:46:03 -07:00
remoteLogger should only call its parent
This commit is contained in:
@@ -81,7 +81,7 @@ func (r *remoteLogger) run() {
|
||||
err = iErr
|
||||
break
|
||||
}
|
||||
GlobalLogger.LogTextChan <- &LogText{
|
||||
r.parent.LogTextChan <- &LogText{
|
||||
logBigFile.FieldName + "-pastebin",
|
||||
[]byte(u.String()),
|
||||
}
|
||||
@@ -90,7 +90,7 @@ func (r *remoteLogger) run() {
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
GlobalLogger.LogTextChan <- &LogText{
|
||||
r.parent.LogTextChan <- &LogText{
|
||||
logBigFile.FieldName + "-pastebin-fail",
|
||||
[]byte(err.Error()),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user