message.go
func parseMessageType(messageType string) MessageType {
	if mt, ok := messageTypeMap[messageType]; ok {
		return mt.Type
	}

	return UNSET
}
func parseMessageType(messageType string) MessageType {
	if mt, ok := messageTypeMap[messageType]; ok {
		return mt.Type
	}

	return UNSET
}
func parseMessageType ( messageType string ) MessageType { if mt , ok := messageTypeMap [ messageType ] ; ok { return mt . Type } return UNSET }
// func recoverMessage(line string) {
// 	if err := recover(); err != nil {
// 		log.Println(line)
// 		log.Println(err)
// 		log.Println(string(debug.Stack()))
// 	}
// }
// parseMessageType parses a message type from an irc COMMAND string
func recoverMessage ( line string ) { if err : = recover () ; err ! = nil { log . Println ( line ) log . Println ( err ) log . Println ( string ( debug . Stack () )) } } parseMessageType parses a message type from an irc COMMAND string