more hasValidValues()

This commit is contained in:
tpltnt
2014-02-16 00:56:21 +01:00
parent 28bf282924
commit 4ba3d1c0d2
2 changed files with 32 additions and 0 deletions

8
irc.go
View File

@@ -400,5 +400,13 @@ func (irc *Connection) hasValidValues() bool {
return false
}
if 0 == len(irc.user) {
return false
}
if nil == irc.Log {
return false
}
return true
}