diff --git a/main.go b/main.go
index e00f902..88b4c80 100644
--- a/main.go
+++ b/main.go
@@ -1,5 +1,23 @@
package main
+/*
+Copyright (C) 2016 The `nmdc-ircfrontend' author(s)
+Copyright (C) 2013 Harry Jeffery
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see .
+*/
+
import (
"flag"
"libnmdc"
diff --git a/server.go b/server.go
index e73dfb3..48ded66 100644
--- a/server.go
+++ b/server.go
@@ -1,5 +1,23 @@
package main
+/*
+Copyright (C) 2016 The `nmdc-ircfrontend' author(s)
+Copyright (C) 2013 Harry Jeffery
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see .
+*/
+
import (
"bytes"
"fmt"
diff --git a/typedefs.go b/typedefs.go
index 576d015..dbe2fe1 100644
--- a/typedefs.go
+++ b/typedefs.go
@@ -1,5 +1,23 @@
package main
+/*
+Copyright (C) 2016 The `nmdc-ircfrontend' author(s)
+Copyright (C) 2013 Harry Jeffery
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see .
+*/
+
import (
"regexp"
)