Index: includes/xmlrpcs.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/xmlrpcs.inc,v
retrieving revision 1.41
diff -u -p -r1.41 xmlrpcs.inc
--- includes/xmlrpcs.inc	31 Jul 2010 04:17:34 -0000	1.41
+++ includes/xmlrpcs.inc	12 Aug 2010 10:24:09 -0000
@@ -45,7 +45,12 @@ function xmlrpc_server($callbacks) {
   // We build an array of all method names by combining the built-ins
   // with those defined by modules implementing the _xmlrpc hook.
   // Built-in methods are overridable.
-  foreach (array_merge($defaults, (array) $callbacks) as $key => $callback) {
+
+  // @link http://drupal.org/node/656266 @endlink
+  $callbacks = array_merge($defaults, (array)$callbacks);
+  drupal_alter('xmlrpc', $callbacks);
+
+  foreach ($callbacks as $key => $callback) {
     // we could check for is_array($callback)
     if (is_int($key)) {
       $method = $callback[0];
