package heufybot.modules;

import java.util.List;

public class Quit extends Module
{
	public Quit()
	{
		this.authType = Module.AuthType.OPs;
		this.triggerTypes = new TriggerType[] { TriggerType.Message };
		this.trigger = "^" + commandPrefix + "(quit)$";
	}
	
	@Override
	public void processEvent(String source, String message, String triggerUser, List<String> params) 
	{
		bot.getIRC().cmdQUIT("Quit command issued by " + triggerUser);
	}

	public String getHelp(String message)
	{
		return "Commands: " + commandPrefix + "quit | Makes the quit the server.";
	}

	@Override
	public void onLoad() 
	{
	}

	@Override
	public void onUnload()
	{
	}
}
@@ -379,24 +379,12 @@
 bot.
-getIRC().cmdQUIT
+stop
 (%22Qu
@@ -526,16 +526,20 @@
 kes the 
+bot 
 quit the

Update Quit and fix a typo