summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'help.go')
-rw-r--r--help.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/help.go b/help.go
index 7dc41ee..f6cf4c5 100644
--- a/help.go
+++ b/help.go
@@ -12,7 +12,7 @@ type Help struct{}
func (Help) Handle(conn *irc.Conn, line *irc.Line) {
var msg []string
for k, v := range commands {
- msg = append(msg, fmt.Sprintf("%-8s%v", k, v.Help()))
+ msg = append(msg, fmt.Sprintf("%-8s%v", k, v))
}
sort.Sort(sort.StringSlice(msg))
for _, s := range msg {
@@ -20,7 +20,7 @@ func (Help) Handle(conn *irc.Conn, line *irc.Line) {
}
}
-func (Help) Help() string {
+func (Help) String() string {
return "This help"
}