summaryrefslogtreecommitdiffstats
path: root/modules/ping.rb
blob: 9069de118ecf3598f957bb679d554d394906bd5e (plain)
1
2
3
4
5
6
def module_ping(msg_body, sender_nick, config)
	if msg_body =~ /^!.+ing/
		answer = sender_nick + ", " + msg_body.gsub("ing","ong") + "."
		return answer
	end
end