Skip to content

Instantly share code, notes, and snippets.

@ryanfb
Created August 22, 2009 04:21
Show Gist options
  • Select an option

  • Save ryanfb/172625 to your computer and use it in GitHub Desktop.

Select an option

Save ryanfb/172625 to your computer and use it in GitHub Desktop.
diff --git a/share/sprockets/alice/src/alice/application.js b/share/sprockets/a
index a822fa9..2e4ecaa 100644
--- a/share/sprockets/alice/src/alice/application.js
+++ b/share/sprockets/alice/src/alice/application.js
@@ -132,7 +132,10 @@ Alice.Application = Class.create({
break;
case "clear":
var win = this.getWindow(action['window'].id);
- if (win) win.messages.update("");
+ if (win) {
+ win.messages.update("");
+ win.lastNick = "";
+ }
break;
default:
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment