summaryrefslogtreecommitdiff
path: root/sources/core/VSMessage.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/core/VSMessage.java')
-rw-r--r--sources/core/VSMessage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/core/VSMessage.java b/sources/core/VSMessage.java
index 25e22c4..852e5f3 100644
--- a/sources/core/VSMessage.java
+++ b/sources/core/VSMessage.java
@@ -62,7 +62,7 @@ public class VSMessage extends VSPrefs {
* @return The protocol name of the message.
*/
public String getName() {
- return VSRegisteredEvents.getName(getProtocolClassname());
+ return VSRegisteredEvents.getNameByClassname(getProtocolClassname());
}
/**
@@ -123,7 +123,7 @@ public class VSMessage extends VSPrefs {
buffer.append("; ");
buffer.append(prefs.getString("lang.protocol"));
buffer.append(": ");
- buffer.append(VSRegisteredEvents.getShortname(getProtocolClassname()));
+ buffer.append(VSRegisteredEvents.getShortnameByClassname(getProtocolClassname()));
return buffer.toString();
}