about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index f66628c..e8853cd 100644
--- a/main.go
+++ b/main.go
@@ -11,6 +11,12 @@ import (
 	"github.com/lrstanley/girc"
 )
 
+func checkerr(err error) {
+	if err != nil {
+		panic(err)
+	}
+}
+
 func main() {
 	//TODO:
 	//parse config.json into the following